﻿<Window x:Class="RapidWPFDemo.AffinityTest"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:rl="clr-namespace:Jalindi.RapidLayout;assembly=RapidLayout2009.Windows"
    Title="AffinityTest" Height="344" Width="551">
    <DockPanel>

        <rl:RapidPanel DockPanel.Dock="Top" Height="150" MinHeight="150"  Name="Panel" ShouldDebug="True" StackMode="Horizontal" GuideDisplayMode="Design">
            <Button Margin="5,15"  Name="button1"  rl:RapidPanel.Horizontal="col=left" HorizontalAlignment="Left">Button1</Button>
            <!--<Button Name="button2"  HorizontalAlignment="Left">Button2</Button>-->
            <Label Name="l1" rl:RapidPanel.Horizontal="Left">label</Label>
            <TextBox Name="t1"></TextBox>
            <!--<Button Name="button3" rl:RapidPanel.ColumnName="left" rl:RapidPanel.RowName="2" VerticalAlignment="Bottom">Button3</Button>
            <Button Name="buttonX" rl:RapidPanel.ColumnName="left"  rl:RapidPanel.RowName="2" VerticalAlignment="Top">ButtonX</Button>
            <Button Name="button4"  HorizontalAlignment="Left"  rl:RapidPanel.RowName="2">Button4</Button>
            <Button Name="buttonn"  HorizontalAlignment="Right"  rl:RapidPanel.RowName="2" VerticalAlignment="Center">ButtonN</Button>-->
        </rl:RapidPanel>
        <TextBlock DockPanel.Dock="Bottom"  TextWrapping="Wrap" Text="{Binding ElementName=Panel, Path=DebugInformation}" ></TextBlock>
    </DockPanel>
</Window>
